From 6f39427729912dc41dc15b826c038142b4112188 Mon Sep 17 00:00:00 2001 From: "josht@us.ibm.com" Date: Tue, 23 Aug 2005 00:28:43 +0100 Subject: [PATCH] Make the set_delay function use the provided parameter to set the delay, not the global prompt_val. --- tools/xenstat/xentop/xentop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c index f1257869d3..a153aada0e 100644 --- a/tools/xenstat/xentop/xentop.c +++ b/tools/xenstat/xentop/xentop.c @@ -254,7 +254,7 @@ static void attr_addstr(int attr, const char *str) static void set_delay(char *value) { int new_delay; - new_delay = atoi(prompt_val); + new_delay = atoi(value); if(new_delay > 0) delay = new_delay; } -- 2.30.2